export default {
  storeItem(obj) {
    const objData = Object.entries(obj);
    objData.forEach((item) => {
      const [key, value] = item;
      localStorage.setItem(key, value);
    });
  },

  getItem(key) {
    return localStorage.getItem(key);
  },
};
